package com.example.mq.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/*
 * @className: SysMQConfig
 * @author: chentao
 * @date: 2025/3/25 下午2:25
 * @Version: 1.0
 * @description:
 */
@Data
@Configuration
public class SysMQConfig {

    //启动类
    @Value("${mq.load.class}")
    private String loadClass;

    //地址
    @Value("${mq.host}")
    private String host;

    //端口
    @Value("${mq.port}")
    private int port;

    //用户名
    @Value("${mq.username}")
    private String username;

    //密码
    @Value("${mq.password}")
    private String password;
}
